<?php
require_once 'libs/common.php';
setCosHeader();
$database=getDbConn();
$sql = 'select * from shop';
$result = $database->queryAll($sql);
echo json_encode($result);